<!doctype html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>添加主题</title>
</head>
<body>
<form action="/topic/topicadd" method="post">
    <input type="hidden" name="id" value="${session.user.id}">
    Title: <input type="text" name="title" placeholder="Input title" autocomplete="off"> <br>
     <select name="c">
     <#list categories as category>
         <option value="${category.id}">${category.name}</option>
     </#list>
         </select>         <br>
    Content: <input type="text" name="content" placeholder="Input content" autocomplete="off"> <br>
    <input type="submit" value="Add">

</form>
</body>
</html>